<script lang="ts" setup>
import { onMounted, ref, onBeforeMount } from "vue";

const rules = {
  name: [{ required: true, message: "请输入", trigger: "blur" }],
};
</script>
<template>
  <div class="container1 container">
    <h2>在线报名</h2>
    <p style="margin-bottom: 40px;">请您留下您的联系方式和合作需求描述，工作人员会在1-3个工作日内，给您取得联系。</p>
    <el-form label-position="top" :rules="rules" label-width="auto">
      <el-form-item label="试验名称" prop="name">
        <div class="input">
          <input type="text" placeholder="培哚普利叔丁胺片在健康参与者中空腹条件下开放、随机、单次." />
        </div>
      </el-form-item>
      <el-form-item label="适应症" prop="name">
        <div class="input">
          <input type="text" placeholder="不可手术切除的复发或转移性胃癌或胃食管交界处" />
        </div>
      </el-form-item>
      <el-form-item label="您的称呼" prop="name">
        <div class="input">
          <input type="text" placeholder="" />
        </div>
      </el-form-item>
      <el-form-item label="手机号" prop="name">
        <div class="input">
          <input type="text" placeholder="" />
        </div>
      </el-form-item>
        <div>
          <button class="submit">提交报名</button>

        </div>
    </el-form>
  </div>
</template>
<style scoped lang="scss">
.container {
  background-color: #fff;
  height: calc(100% - 40px);
  margin: 20px auto;
  padding: 20px;
}

.input {
  width: 100%;
  height: 43px;
  background: #f8f8fa;
  border-radius: 3px;
  padding: 0 16px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;

  input {
    background: #f8f8fa;
    height: 43px;
    flex: 1;
  }
  textarea{
    flex: 1;
    background: #f8f8fa;
    height: 120px;
  }
}
h2 {
  text-align: center;
  color: #0c9397 !important;
  margin-bottom: 34px;
}
.el-select__wrapper {
  background-color: none !important ;
  box-shadow: none !important;
}
.require{
  margin-bottom: 10px;
  span{
    display: inline-block;
    margin-right: 5px;
    width: 115px;
height: 32px;
background: rgba(245,247,250,0);
border-radius: 3px;
border: 1px solid #DADADA;
text-align: center;
line-height: 32px;
font-size: 15px;
color: #888888;
  }
}
button{
  width: 200px;
height: 56px;font-size: 18px;
color: #FFFFFF;
cursor: pointer;
text-align: center;
margin-right: 13px;
line-height: 56px;
}
.cancel{
  border: 1px solid #0C9397;
  color: #0C9397;
  background: #fff;
}
.submit{
  background: #0C9397;
}
</style>